package com.geek.spring5work;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: lishuangqiang
 * @Date: 2021/12/5
 * @Description:
 */

@Configuration
public class ConfigurationBeanTwo {
    @Bean("beanTwo")
    public BeanTwo beanTwo() {
        BeanTwo beanTwo = new BeanTwo();
        return beanTwo;
    }


    private class BeanTwo {
    }
}
